<?php
namespace app\api\model;
/** 
* Document
*/
class Category extends Base {
    protected $hidden =['update_time','delete_time'];
    


    public function getTopicImgAttr($value,$data){
        return Image::getImgUrl($data['topic_img_id']);
    }
}